.class Lcom/example/m6wmr/WaimaiActivity2$1;
.super Landroid/os/Handler;
.source "WaimaiActivity2.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/WaimaiActivity2;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/WaimaiActivity2;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/WaimaiActivity2;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/WaimaiActivity2$1;->this$0:Lcom/example/m6wmr/WaimaiActivity2;

    .line 162
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 14
    .param p1, "msg"    # Landroid/os/Message;

    .prologue
    const/4 v5, 0x0

    const/4 v13, 0x1

    .line 164
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 165
    iget v0, p1, Landroid/os/Message;->arg1:I

    sparse-switch v0, :sswitch_data_0

    .line 234
    :cond_0
    :goto_0
    :sswitch_0
    return-void

    .line 169
    :sswitch_1
    iget-object v0, p0, Lcom/example/m6wmr/WaimaiActivity2$1;->this$0:Lcom/example/m6wmr/WaimaiActivity2;

    # getter for: Lcom/example/m6wmr/WaimaiActivity2;->mcontext:Landroid/content/Context;
    invoke-static {v0}, Lcom/example/m6wmr/WaimaiActivity2;->access$4(Lcom/example/m6wmr/WaimaiActivity2;)Landroid/content/Context;

    move-result-object v0

    const-string v1, "\u767b\u9646d\u4fe1\u606f"

    const-string v2, "\u767b\u9646\u6210\u529f"

    invoke-static {v0, v1, v2}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 175
    :sswitch_2
    iget-object v0, p0, Lcom/example/m6wmr/WaimaiActivity2$1;->this$0:Lcom/example/m6wmr/WaimaiActivity2;

    # getter for: Lcom/example/m6wmr/WaimaiActivity2;->page:I
    invoke-static {v0}, Lcom/example/m6wmr/WaimaiActivity2;->access$1(Lcom/example/m6wmr/WaimaiActivity2;)I

    move-result v0

    if-ne v0, v13, :cond_1

    .line 176
    iget-object v0, p0, Lcom/example/m6wmr/WaimaiActivity2$1;->this$0:Lcom/example/m6wmr/WaimaiActivity2;

    # getter for: Lcom/example/m6wmr/WaimaiActivity2;->shopls:Ljava/util/List;
    invoke-static {v0}, Lcom/example/m6wmr/WaimaiActivity2;->access$5(Lcom/example/m6wmr/WaimaiActivity2;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->clear()V

    .line 178
    :cond_1
    const/4 v8, 0x0

    .local v8, "i":I
    :goto_1
    iget-object v0, p0, Lcom/example/m6wmr/WaimaiActivity2$1;->this$0:Lcom/example/m6wmr/WaimaiActivity2;

    # getter for: Lcom/example/m6wmr/WaimaiActivity2;->temshopls:Ljava/util/List;
    invoke-static {v0}, Lcom/example/m6wmr/WaimaiActivity2;->access$6(Lcom/example/m6wmr/WaimaiActivity2;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lt v8, v0, :cond_2

    .line 182
    iget-object v0, p0, Lcom/example/m6wmr/WaimaiActivity2$1;->this$0:Lcom/example/m6wmr/WaimaiActivity2;

    # getter for: Lcom/example/m6wmr/WaimaiActivity2;->page:I
    invoke-static {v0}, Lcom/example/m6wmr/WaimaiActivity2;->access$1(Lcom/example/m6wmr/WaimaiActivity2;)I

    move-result v0

    if-ne v0, v13, :cond_3

    .line 183
    iget-object v12, p0, Lcom/example/m6wmr/WaimaiActivity2$1;->this$0:Lcom/example/m6wmr/WaimaiActivity2;

    new-instance v0, Ldata/ShopData3;

    iget-object v1, p0, Lcom/example/m6wmr/WaimaiActivity2$1;->this$0:Lcom/example/m6wmr/WaimaiActivity2;

    # getter for: Lcom/example/m6wmr/WaimaiActivity2;->mcontext:Landroid/content/Context;
    invoke-static {v1}, Lcom/example/m6wmr/WaimaiActivity2;->access$4(Lcom/example/m6wmr/WaimaiActivity2;)Landroid/content/Context;

    move-result-object v1

    iget-object v2, p0, Lcom/example/m6wmr/WaimaiActivity2$1;->this$0:Lcom/example/m6wmr/WaimaiActivity2;

    # getter for: Lcom/example/m6wmr/WaimaiActivity2;->shopls:Ljava/util/List;
    invoke-static {v2}, Lcom/example/m6wmr/WaimaiActivity2;->access$5(Lcom/example/m6wmr/WaimaiActivity2;)Ljava/util/List;

    move-result-object v2

    iget-object v3, p0, Lcom/example/m6wmr/WaimaiActivity2$1;->this$0:Lcom/example/m6wmr/WaimaiActivity2;

    invoke-virtual {v3}, Lcom/example/m6wmr/WaimaiActivity2;->getApplicationContext()Landroid/content/Context;

    move-result-object v3

    iget-object v4, p0, Lcom/example/m6wmr/WaimaiActivity2$1;->this$0:Lcom/example/m6wmr/WaimaiActivity2;

    # getter for: Lcom/example/m6wmr/WaimaiActivity2;->ListViewOrder:Lcom/wmr/Lstview/XListView;
    invoke-static {v4}, Lcom/example/m6wmr/WaimaiActivity2;->access$7(Lcom/example/m6wmr/WaimaiActivity2;)Lcom/wmr/Lstview/XListView;

    move-result-object v4

    invoke-direct/range {v0 .. v5}, Ldata/ShopData3;-><init>(Landroid/content/Context;Ljava/util/List;Landroid/content/Context;Landroid/widget/ListView;I)V

    invoke-static {v12, v0}, Lcom/example/m6wmr/WaimaiActivity2;->access$8(Lcom/example/m6wmr/WaimaiActivity2;Ldata/ShopData3;)V

    .line 185
    iget-object v0, p0, Lcom/example/m6wmr/WaimaiActivity2$1;->this$0:Lcom/example/m6wmr/WaimaiActivity2;

    # getter for: Lcom/example/m6wmr/WaimaiActivity2;->ListViewOrder:Lcom/wmr/Lstview/XListView;
    invoke-static {v0}, Lcom/example/m6wmr/WaimaiActivity2;->access$7(Lcom/example/m6wmr/WaimaiActivity2;)Lcom/wmr/Lstview/XListView;

    move-result-object v0

    iget-object v1, p0, Lcom/example/m6wmr/WaimaiActivity2$1;->this$0:Lcom/example/m6wmr/WaimaiActivity2;

    # getter for: Lcom/example/m6wmr/WaimaiActivity2;->spbd:Ldata/ShopData3;
    invoke-static {v1}, Lcom/example/m6wmr/WaimaiActivity2;->access$9(Lcom/example/m6wmr/WaimaiActivity2;)Ldata/ShopData3;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/wmr/Lstview/XListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 186
    iget-object v0, p0, Lcom/example/m6wmr/WaimaiActivity2$1;->this$0:Lcom/example/m6wmr/WaimaiActivity2;

    # getter for: Lcom/example/m6wmr/WaimaiActivity2;->ListViewOrder:Lcom/wmr/Lstview/XListView;
    invoke-static {v0}, Lcom/example/m6wmr/WaimaiActivity2;->access$7(Lcom/example/m6wmr/WaimaiActivity2;)Lcom/wmr/Lstview/XListView;

    move-result-object v0

    invoke-virtual {v0, v13}, Lcom/wmr/Lstview/XListView;->setPullLoadEnable(Z)V

    .line 193
    :goto_2
    iget-object v0, p0, Lcom/example/m6wmr/WaimaiActivity2$1;->this$0:Lcom/example/m6wmr/WaimaiActivity2;

    # invokes: Lcom/example/m6wmr/WaimaiActivity2;->onLoad()V
    invoke-static {v0}, Lcom/example/m6wmr/WaimaiActivity2;->access$10(Lcom/example/m6wmr/WaimaiActivity2;)V

    .line 196
    iget-object v0, p0, Lcom/example/m6wmr/WaimaiActivity2$1;->this$0:Lcom/example/m6wmr/WaimaiActivity2;

    # getter for: Lcom/example/m6wmr/WaimaiActivity2;->ListViewOrder:Lcom/wmr/Lstview/XListView;
    invoke-static {v0}, Lcom/example/m6wmr/WaimaiActivity2;->access$7(Lcom/example/m6wmr/WaimaiActivity2;)Lcom/wmr/Lstview/XListView;

    move-result-object v0

    invoke-virtual {v0, v5}, Lcom/wmr/Lstview/XListView;->setCacheColorHint(I)V

    .line 199
    iget-object v0, p0, Lcom/example/m6wmr/WaimaiActivity2$1;->this$0:Lcom/example/m6wmr/WaimaiActivity2;

    invoke-static {v0, v5}, Lcom/example/m6wmr/WaimaiActivity2;->access$3(Lcom/example/m6wmr/WaimaiActivity2;Z)V

    goto/16 :goto_0

    .line 179
    :cond_2
    iget-object v0, p0, Lcom/example/m6wmr/WaimaiActivity2$1;->this$0:Lcom/example/m6wmr/WaimaiActivity2;

    # getter for: Lcom/example/m6wmr/WaimaiActivity2;->temshopls:Ljava/util/List;
    invoke-static {v0}, Lcom/example/m6wmr/WaimaiActivity2;->access$6(Lcom/example/m6wmr/WaimaiActivity2;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, v8}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v7

    check-cast v7, Lbean/ShopBean;

    .line 180
    .local v7, "cc":Lbean/ShopBean;
    iget-object v0, p0, Lcom/example/m6wmr/WaimaiActivity2$1;->this$0:Lcom/example/m6wmr/WaimaiActivity2;

    # getter for: Lcom/example/m6wmr/WaimaiActivity2;->shopls:Ljava/util/List;
    invoke-static {v0}, Lcom/example/m6wmr/WaimaiActivity2;->access$5(Lcom/example/m6wmr/WaimaiActivity2;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, v7}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 178
    add-int/lit8 v8, v8, 0x1

    goto :goto_1

    .line 188
    .end local v7    # "cc":Lbean/ShopBean;
    :cond_3
    iget-object v0, p0, Lcom/example/m6wmr/WaimaiActivity2$1;->this$0:Lcom/example/m6wmr/WaimaiActivity2;

    # getter for: Lcom/example/m6wmr/WaimaiActivity2;->spbd:Ldata/ShopData3;
    invoke-static {v0}, Lcom/example/m6wmr/WaimaiActivity2;->access$9(Lcom/example/m6wmr/WaimaiActivity2;)Ldata/ShopData3;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 191
    iget-object v0, p0, Lcom/example/m6wmr/WaimaiActivity2$1;->this$0:Lcom/example/m6wmr/WaimaiActivity2;

    # getter for: Lcom/example/m6wmr/WaimaiActivity2;->spbd:Ldata/ShopData3;
    invoke-static {v0}, Lcom/example/m6wmr/WaimaiActivity2;->access$9(Lcom/example/m6wmr/WaimaiActivity2;)Ldata/ShopData3;

    move-result-object v0

    invoke-virtual {v0}, Ldata/ShopData3;->notifyDataSetChanged()V

    goto :goto_2

    .line 203
    .end local v8    # "i":I
    :sswitch_3
    iget-object v0, p0, Lcom/example/m6wmr/WaimaiActivity2$1;->this$0:Lcom/example/m6wmr/WaimaiActivity2;

    invoke-static {v0, v13}, Lcom/example/m6wmr/WaimaiActivity2;->access$3(Lcom/example/m6wmr/WaimaiActivity2;Z)V

    goto/16 :goto_0

    .line 207
    :sswitch_4
    iget-object v0, p0, Lcom/example/m6wmr/WaimaiActivity2$1;->this$0:Lcom/example/m6wmr/WaimaiActivity2;

    # invokes: Lcom/example/m6wmr/WaimaiActivity2;->onLoad()V
    invoke-static {v0}, Lcom/example/m6wmr/WaimaiActivity2;->access$10(Lcom/example/m6wmr/WaimaiActivity2;)V

    goto/16 :goto_0

    .line 210
    :sswitch_5
    iget-object v0, p0, Lcom/example/m6wmr/WaimaiActivity2$1;->this$0:Lcom/example/m6wmr/WaimaiActivity2;

    # getter for: Lcom/example/m6wmr/WaimaiActivity2;->mcontext:Landroid/content/Context;
    invoke-static {v0}, Lcom/example/m6wmr/WaimaiActivity2;->access$4(Lcom/example/m6wmr/WaimaiActivity2;)Landroid/content/Context;

    move-result-object v0

    const-string v1, "\u5b9a\u4f4d\u4fe1\u606f"

    iget-object v2, p0, Lcom/example/m6wmr/WaimaiActivity2$1;->this$0:Lcom/example/m6wmr/WaimaiActivity2;

    iget-object v2, v2, Lcom/example/m6wmr/WaimaiActivity2;->m:Lmyapp/MyApp;

    invoke-virtual {v2}, Lmyapp/MyApp;->getMapname()Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v1, v2}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0

    .line 214
    :sswitch_6
    const-string v0, "waimaiACtivity"

    const-string v1, "\u8c03\u7528\u5237\u65b0\u3000"

    invoke-static {v0, v1}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 215
    iget-object v0, p0, Lcom/example/m6wmr/WaimaiActivity2$1;->this$0:Lcom/example/m6wmr/WaimaiActivity2;

    invoke-virtual {v0}, Lcom/example/m6wmr/WaimaiActivity2;->getShopSource2()Z

    goto/16 :goto_0

    .line 218
    :sswitch_7
    const-string v0, "waimaiACtivity"

    const-string v1, "\u8c03\u7528\u5730\u57402\u6b21\u9009\u62e9"

    invoke-static {v0, v1}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 219
    iget-object v0, p0, Lcom/example/m6wmr/WaimaiActivity2$1;->this$0:Lcom/example/m6wmr/WaimaiActivity2;

    # getter for: Lcom/example/m6wmr/WaimaiActivity2;->mcontext:Landroid/content/Context;
    invoke-static {v0}, Lcom/example/m6wmr/WaimaiActivity2;->access$4(Lcom/example/m6wmr/WaimaiActivity2;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v9

    .line 220
    .local v9, "layoutInflater":Landroid/view/LayoutInflater;
    iget-object v0, p0, Lcom/example/m6wmr/WaimaiActivity2$1;->this$0:Lcom/example/m6wmr/WaimaiActivity2;

    const v1, 0x7f0300b6

    const/4 v2, 0x0

    invoke-virtual {v9, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    iput-object v1, v0, Lcom/example/m6wmr/WaimaiActivity2;->myLoginView:Landroid/view/View;

    .line 221
    iget-object v0, p0, Lcom/example/m6wmr/WaimaiActivity2$1;->this$0:Lcom/example/m6wmr/WaimaiActivity2;

    iget-object v0, v0, Lcom/example/m6wmr/WaimaiActivity2;->myLoginView:Landroid/view/View;

    const v1, 0x7f0c0366

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v11

    check-cast v11, Landroid/widget/LinearLayout;

    .line 222
    .local v11, "selectview":Landroid/widget/LinearLayout;
    iget-object v0, p0, Lcom/example/m6wmr/WaimaiActivity2$1;->this$0:Lcom/example/m6wmr/WaimaiActivity2;

    # getter for: Lcom/example/m6wmr/WaimaiActivity2;->mPopupWindow:Landroid/widget/PopupWindow;
    invoke-static {v0}, Lcom/example/m6wmr/WaimaiActivity2;->access$11(Lcom/example/m6wmr/WaimaiActivity2;)Landroid/widget/PopupWindow;

    move-result-object v0

    invoke-virtual {v0, v11}, Landroid/widget/PopupWindow;->setContentView(Landroid/view/View;)V

    goto/16 :goto_0

    .line 225
    .end local v9    # "layoutInflater":Landroid/view/LayoutInflater;
    .end local v11    # "selectview":Landroid/widget/LinearLayout;
    :sswitch_8
    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v6

    .line 226
    .local v6, "ad":Ljava/lang/String;
    iget-object v0, p0, Lcom/example/m6wmr/WaimaiActivity2$1;->this$0:Lcom/example/m6wmr/WaimaiActivity2;

    const v1, 0x7f0c0144

    invoke-virtual {v0, v1}, Lcom/example/m6wmr/WaimaiActivity2;->findViewById(I)Landroid/view/View;

    move-result-object v10

    check-cast v10, Landroid/widget/TextView;

    .line 227
    .local v10, "mapnametext":Landroid/widget/TextView;
    invoke-virtual {v10, v6}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 228
    iget-object v0, p0, Lcom/example/m6wmr/WaimaiActivity2$1;->this$0:Lcom/example/m6wmr/WaimaiActivity2;

    invoke-virtual {v0}, Lcom/example/m6wmr/WaimaiActivity2;->getShopSource()Z

    goto/16 :goto_0

    .line 165
    nop

    :sswitch_data_0
    .sparse-switch
        0x0 -> :sswitch_0
        0x2 -> :sswitch_1
        0x3 -> :sswitch_2
        0x1f -> :sswitch_3
        0x21 -> :sswitch_6
        0x27 -> :sswitch_4
        0x2c -> :sswitch_7
        0x6f -> :sswitch_5
        0x70 -> :sswitch_8
    .end sparse-switch
.end method
